import { testLogin } from "../utils/utils.js";
const onbox = document.querySelector('.on');
const offbox = document.querySelector('.off');
testLogin(res=>{
    // console.log(res);
    onbox.firstElementChild.innerText = res.data.info.nickname;
    onbox.classList.add('active');
    offbox.classList.remove('active');
},()=>{
    onbox.classList.remove('active');
    offbox.classList.add('active');
})